From d9448e835e4478418973b2d93305ed1a1dab2cae Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sat, 18 Nov 2023 19:36:42 -0700 Subject: [PATCH] simplify usage of homebrew on CI macos-11. (#1234) homebrew installs are taking an extreme amount of time on macos-11, with the following message: Warning: You are using macOS 11. We (and Apple) do not provide support for this old version. It is expected behaviour that some formulae will fail to build in this old version. It is expected behaviour that Homebrew will be buggy and slow. To alleviate this pain skip the installation of jing and all it's dependencies on macos-11. --- .github/workflows/macos.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 31ad8eced..cdd796ec1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -75,7 +75,10 @@ jobs: # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. brew install ninja brew install docbook docbook-xsl fop gnu-sed - brew install jing-trang + # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies. + if [ "${{ matrix.os }}" != "macos-11" ]; then + brew install jing-trang + fi - name: Script env: -- 2.30.2